package com.qiantu.api.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Transient;

@Entity
public class SceneBean {

    @Id(autoincrement = true)
    private Long id;
    private String sceneSerialNo;
    private String name;
    private String image;
    private boolean isFavourite;
    private boolean isHide;
    /**
     * 普通场景 : 1
     * 特效场景 : 2
     * 场景意图 : 3
     * 私人场景 : 4
     * 回家模式 : 5
     * 离家模式 : 6
     * 观影模式 : 7
     * 睡眠模式 : 8
     */
    private int sceneType;
    private int sort;
    private int roomSort;
    private int floorSort;
    private int floorGlobalSort;
    private String houseSerialNo;
    private String houseName;
    //2通用
    private int linkType;
    @NotNull
    private String roomSerialNo;
    private String roomName;
    private String floorSerialNo;
    private String floorName;
    private String createTime;
    private String  actionSettingExpireTime;
    private String bingSceneSerialNo;
    private String createUserSerialNo;
    @Transient
    private Object temporary;


    @Generated(hash = 418765892)
    public SceneBean() {
    }

    @Generated(hash = 793994930)
    public SceneBean(Long id, String sceneSerialNo, String name, String image,
            boolean isFavourite, boolean isHide, int sceneType, int sort,
            int roomSort, int floorSort, int floorGlobalSort, String houseSerialNo,
            String houseName, int linkType, @NotNull String roomSerialNo,
            String roomName, String floorSerialNo, String floorName,
            String createTime, String actionSettingExpireTime,
            String bingSceneSerialNo, String createUserSerialNo) {
        this.id = id;
        this.sceneSerialNo = sceneSerialNo;
        this.name = name;
        this.image = image;
        this.isFavourite = isFavourite;
        this.isHide = isHide;
        this.sceneType = sceneType;
        this.sort = sort;
        this.roomSort = roomSort;
        this.floorSort = floorSort;
        this.floorGlobalSort = floorGlobalSort;
        this.houseSerialNo = houseSerialNo;
        this.houseName = houseName;
        this.linkType = linkType;
        this.roomSerialNo = roomSerialNo;
        this.roomName = roomName;
        this.floorSerialNo = floorSerialNo;
        this.floorName = floorName;
        this.createTime = createTime;
        this.actionSettingExpireTime = actionSettingExpireTime;
        this.bingSceneSerialNo = bingSceneSerialNo;
        this.createUserSerialNo = createUserSerialNo;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSceneSerialNo() {
        return sceneSerialNo;
    }

    public void setSceneSerialNo(String sceneSerialNo) {
        this.sceneSerialNo = sceneSerialNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public void setIsFavourite(boolean isFavourite) {
        this.isFavourite = isFavourite;
    }

    public void setIsHide(boolean isHide) {
        this.isHide = isHide;
    }

    public int getSceneType() {
        return sceneType;
    }

    public void setSceneType(int sceneType) {
        this.sceneType = sceneType;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getHouseSerialNo() {
        return houseSerialNo;
    }

    public void setHouseSerialNo(String houseSerialNo) {
        this.houseSerialNo = houseSerialNo;
    }

    public String getHouseName() {
        return houseName;
    }

    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }

    public String getRoomSerialNo() {
        return roomSerialNo;
    }

    public void setRoomSerialNo(String roomSerialNo) {
        this.roomSerialNo = roomSerialNo;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public int getLinkType() {
        return linkType;
    }

    public void setLinkType(int linkType) {
        this.linkType = linkType;
    }

    public boolean getIsFavourite() {
        return this.isFavourite;
    }

    public boolean getIsHide() {
        return this.isHide;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getBingSceneSerialNo() {
        return bingSceneSerialNo;
    }

    public void setBingSceneSerialNo(String bingSceneSerialNo) {
        this.bingSceneSerialNo = bingSceneSerialNo;
    }

    public String getCreateUserSerialNo() {
        return createUserSerialNo;
    }

    public void setCreateUserSerialNo(String createUserSerialNo) {
        this.createUserSerialNo = createUserSerialNo;
    }

    public int getRoomSort() {
        return this.roomSort;
    }

    public void setRoomSort(int roomSort) {
        this.roomSort = roomSort;
    }

    public Object getTemporary() {
        return temporary;
    }

    public void setTemporary(Object temporary) {
        this.temporary = temporary;
    }

    @Override
    public String toString() {
        return name;
    }

    public String getActionSettingExpireTime() {
        return this.actionSettingExpireTime;
    }

    public void setActionSettingExpireTime(String actionSettingExpireTime) {
        this.actionSettingExpireTime = actionSettingExpireTime;
    }

    public int getFloorSort() {
        return this.floorSort;
    }

    public void setFloorSort(int floorSort) {
        this.floorSort = floorSort;
    }

    public int getFloorGlobalSort() {
        return this.floorGlobalSort;
    }

    public void setFloorGlobalSort(int floorGlobalSort) {
        this.floorGlobalSort = floorGlobalSort;
    }

    public String getFloorSerialNo() {
        return this.floorSerialNo;
    }

    public void setFloorSerialNo(String floorSerialNo) {
        this.floorSerialNo = floorSerialNo;
    }

    public String getFloorName() {
        return this.floorName;
    }

    public void setFloorName(String floorName) {
        this.floorName = floorName;
    }
}
